package com.woniuxy.learnmap.mapper;

import com.woniuxy.commons.dto.LearnMapDetailDto;
import com.woniuxy.commons.dto.LearnMapDto;
import com.woniuxy.commons.entity.LearnMapDetail;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Auther: 王敞
 * @E-mail： 365799712@qq.com
 * @Date: 2020/07/16/17:47
 * @Description: 学习地图详情mapper
 */
@Mapper
@Repository
public interface LearnMapDetailMapper {
    /*
    *
     * @Description: 增加一条新的地图详情
     * @Param: [learnMapDetail]
     * @return: int
     * @Author: 王敞
     * @Date: 18:56 2020/7/16
     **/
    public int addLearnMapDetail(LearnMapDetailDto learnMapDetailDto);
    /*
    *
     * @Description: 通过学习地图id查询相关学习地图查询
     * @Param: [lmid]
     * @return: com.woniuxy.commons.dto.LearnMapDetailDto
     * @Author: 王敞
     * @Date: 15:13 2020/7/30
     **/
    public List<LearnMapDetailDto> findLearnMapDetailByLMId(int lmid);
}
